package com.data.modules.sm.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.data.modules.sm.entity.SmDeviceStats;
import com.data.modules.sm.mapper.SmDeviceStatsMapper;
import com.data.modules.sm.service.ISmDeviceStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Description: sm_device_stats
 * @Author: data-boot
 * @Date:   2022-11-11
 * @Version: V1.0
 */
@Service
public class SmDeviceStatsServiceImpl extends ServiceImpl<SmDeviceStatsMapper, SmDeviceStats> implements ISmDeviceStatsService {

    @Autowired
    private SmDeviceStatsMapper mapper;
    /**
     * 查询车辆进出情况信息
     * @param province
     * @return
     */
    @Override
    public List<Map> getDeviceInfo(String province) {

        List list = mapper.getDeviceInfo(province);
        return list;
    }
}
